package com.sumainfor.zuul.controller;

import com.sumainfor.common.util.JsonResult;
import com.sumainfor.zuul.service.SysUserListService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.*;

import java.util.Map;

/**
 * <p>
 *
 * <p>
 *
 * @author: zhoucong
 * @create: 2019-05-27 19:10
 **/
@Controller
@RequestMapping("/tenant/key/sysUserListEva")
public class SysUserListEvaController {

    @Autowired
    SysUserListService sysUserListService;

    @ResponseBody
    @PostMapping("/getSystemUser")
    public JsonResult getSystemUser(@RequestBody Map<String,Object> params){
        return  sysUserListService.getSystemUser(params);
    }
}
